const preventReClick = (el, bindling) => {
    el.addEventListener('click', () => {
        if (!el.disabled) {
            el.disabled = true;
            setTimeout(() => {
                el.disabled = false;
            }, bindling.value || 2000)
        }
    })
}

export default preventReClick;
